<div class="portlet">
  <div class="portlet-header">
    <% if @wish_list.type_list == WishList::TYPE_FAVORITE %>
      <h1><%=t("title_favorite")%></h1>
    <% else %>
      <h1><%="#{t(".title")}: #{@wish_list.name}"%></h1>
    <% end %>
  </div>

  <div class="portlet-content">

    <% form_tag wish_list_materials_path(@wish_list), :method => 'get' do %>
      <table style="border:0px">
        <tr>
          <th> <%= label_tag t('activerecord.attributes.material.title') %> </th>
          <th> <%= text_field_tag :search_title, params[:search_title] %> </th>
          <th> <%= submit_tag t('btn_search'), :name => nil %> </th>
        </tr>
      </table>
    <% end %>

    <div id="wish_list_materials_list">
      <%= render :partial => 'wish_list_materials_list' %>
    </div>

    <!--div class="line-links">
      <div id='basic-modal-material_selector'>
        <a href='#' class='basic'><%#=t('.btn_new_wish_list_material')%></a>
      </div>            
    </div-->

  </div>

  <div class="portlet-footer">
  </div>
</div>

<!--
<div id="basic-modal-content-material_selector" style="display:none;">
  <%#= render :partial=>'materials/selector_materials' %>
</div>
-->